import {NgModule} from '@angular/core';
import {DrawFeatureComponent} from './draw-feature.component';
import {LayersListComponent} from './layers-list/layers-list.component';
import {AddFeatureAttrComponent} from './add-feature-attr/add-feature-attr.component';
import {CommonModule} from '@angular/common';
import {DrawFeatureService} from './draw-feature.service';
import {AddFeatureAttrService} from './add-feature-attr/add-feature-attr.service';
import {LayersListService} from './layers-list/layers-list.service';
import {DrFeaService} from './dr-fea.service';
import {FormsModule, ReactiveFormsModule} from '@angular/forms'; // 表单基础依赖,响应式表单依赖
import {NgZorroAntdModule} from 'ng-zorro-antd';
import {SetLineStyleComponent} from './add-feature-attr/set-line-style/set-line-style.component';
import {SetPointStyleComponent} from './add-feature-attr/set-point-style/set-point-style.component';
import {SetPolygonStyleComponent} from './add-feature-attr/set-polygon-style/set-polygon-style.component';
import {SetLineStyleService} from './add-feature-attr/set-line-style/set-line-style.service';
import {SetPointStyleService} from './add-feature-attr/set-point-style/set-point-style.service';
import {SetPolygonStyleService} from './add-feature-attr/set-polygon-style/set.polygon-style.service';
import {AddFeatureAttrModule} from './add-feature-attr/add-feature-attr.module'; // ng-zorro
@NgModule({
    declarations: [DrawFeatureComponent, LayersListComponent],
    imports: [
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        NgZorroAntdModule,
        AddFeatureAttrModule
    ],
    exports: [DrawFeatureComponent],
    providers: [DrawFeatureService, AddFeatureAttrService, LayersListService,
        DrFeaService, SetLineStyleService, SetPointStyleService, SetPolygonStyleService]
})
export class DrawFeatureModule {
}
